home *** CD-ROM | disk | FTP | other *** search
/ Windows 6-Pak - Disc 5 / Windows 6-Pak (InfoMagic) (Disc 5) (1999).ISO / JAVA-Programming-Tools / jtk101c.exe / DISK2 / serverio.ht_ / serverio.ht
Encoding:
Text File  |  1999-02-04  |  5.1 KB  |  151 lines

  1. <html>
  2.   <head>
  3.     <title>ServerIO CGI - Evans Java Toolkit</title>
  4.     <meta name="description" content="Evans Programming Java Toolkit - ServerIO CGI">
  5.     <meta name="keywords" content="java, io, write, read, server, CGI">
  6.     <meta name="DESIGN" content="Evans Programming, Hoffman Estates, IL">
  7.   </head>
  8.  
  9.   <body bgcolor="#FFFFFF" link="#FF0000" vlink="#800000" alink="#FF00FF">
  10.  
  11. <!--INCLUDESTART="JTCLSHDR.TXT"-->
  12.       <center>
  13.         <font face="Arial" size="5" color="0000FF">
  14.           <strong>Evans Programming Java Toolkit</strong><br>
  15.         </font>
  16.       </center>
  17.       
  18.       <center>
  19.         <font size="-2" face="Arial" color="FF0000">
  20.           <strong>
  21.             <a href="../jtkit.htm", target="_top">Java Toolkit Page</a> |
  22.             <a href="../softwr.htm", target="_top">Software</a> |
  23.             <a href="../index.html", target="_top">Home</a><br>
  24.           </strong>
  25.         </font>
  26.       </center>
  27. <!--INCLUDESTOP="JTCLSHDR.TXT"-->
  28.  
  29.     <center>
  30.       <font size="-2" face="Arial" color="FF0000">
  31.         <strong>
  32.           <a href="#DESCRIPTION">Description</a> |
  33.           <a href="#SETUP">Setup</a> |
  34.           <a href="#SERVERIO_INI">Serverio.ini</a><br>
  35.         </strong>
  36.       </font>
  37.     </center>
  38.  
  39. <!--INCLUDESTART="JTPGNAV.TXT"-->
  40.  
  41.     
  42.     <a href="clientio.htm">Previous</a> 
  43.     <a href="license.htm">Next</a> 
  44.     <a href="classidx.htm">Index</a><br>
  45.                                  
  46. <!--INCLUDESTOP="JTPGNAV.TXT"-->
  47.  
  48.     <hr>
  49.  
  50.     <h1>ServerIO CGI Program</h1>
  51.  
  52.     <a name="DESCRIPTION"><img src="descript.gif" width=220 height=60 alt="Description"></a>
  53.     <p>
  54.       The serverio.exe program is provided to be used with the Evans Java Toolkit <strong>ClientIO</strong>() class.
  55.     </p>
  56.  
  57.     <p>
  58.       Java applets cannot write directly to a web server. Instead, a server side CGI program must
  59.       be used in conjunction with the java applet. Java passes data to a CGI program that "posts"
  60.       the desired data to the web server file(s).
  61.     </p>
  62.  
  63.     <p>
  64.       The serverio.exe installed by the setup program is UNIX compatible. If your server is NT 
  65.       compatible, rename the serveriont.exe to serverio.exe and use it instead. If your server 
  66.       is not running on the UNIX or NT O/S then you will need to create your own server side CGI 
  67.       program or script. Please <a href="mailto:davidLevans@megsinet.net">contact us</a>
  68.       if you need more information.
  69.     </p>
  70.  
  71.     <hr>
  72.  
  73.     <h2><a name="SETUP">Setup</a></h2>
  74.  
  75.     <p>
  76.       <ul>
  77.         <li>The serverio.exe program should be placed in the cgi-bin directory of the target web server.
  78.         <li>A <a href="#SERVERIO_INI">serverio.ini</a> file must be created in the directory where serverio.exe is located. The purpose
  79.             of the serverio.ini file is to specify the location and name of the file where the data
  80.             sent by your java app, using the <a href="clientio.htm">ClientIO class</a>, is to be posted.
  81.   
  82.       </ul>
  83.     </p>
  84.       
  85.     <hr>
  86.     <h2><a name="SERVERIO_INI">The ServerIO.INI File</a></h2>
  87.     <p>
  88.       Create the serverio.ini file with any ASCII text editor. The serverio.ini file should contain a
  89.       <strong>single</strong> line of data that specifies the full file path name to be posted to by the ServerIO.EXE file.
  90.     </p>
  91.  
  92.     <p>
  93.       <dl>
  94.         <dt><strong>Examples</strong>
  95.         <dd>/usr/home1/yourdir/www/docs/postdir/filedata.dat
  96.         <dd><strong>or</strong>
  97.         <dd>../docs/postdir/filedata.dat
  98.       </dl>
  99.     </p>
  100.  
  101.     <p>
  102.       <strong>IMPORTANT!</strong> Note that the pathname does not include "http://www.yoursite.com". This is because
  103.       the serverio.exe file is running on a server. It sees the server directory structure
  104.       the same way that you see it when you access the server using ftp or telnet.
  105.     </p>
  106.       
  107.     <hr>
  108.  
  109. <!--INCLUDESTART="JTPGNAV.TXT"-->
  110.  
  111.     
  112.     <a href="clientio.htm">Previous</a> 
  113.     <a href="license.htm">Next</a> 
  114.     <a href="classidx.htm">Index</a><br>
  115.                                  
  116. <!--INCLUDESTOP="JTPGNAV.TXT"-->
  117.  
  118.     <center>
  119.       <font size="-2" face="Arial" color="FF0000">
  120.         <strong>
  121.           <a href="#DESCRIPTION">Description</a> |
  122.           <a href="#SETUP">Setup</a> |
  123.           <a href="#SERVERIO_INI">Serverio.ini</a><br>
  124.         </strong>
  125.       </font>
  126.     </center>
  127.  
  128. <!--INCLUDESTART="JTCLSFTR.TXT"-->
  129.     <center>
  130.       <font size="-2" face="Arial" color="FF0000">
  131.         <strong>
  132.           <a href="../jtkit.htm", target="_top">Java Toolkit Page</a> |
  133.           <a href="../softwr.htm", target="_top">Software</a> |
  134.           <a href="../index.html", target="_top">Home</a><br>
  135.         </strong>
  136.       </font>
  137.     </center>
  138.  
  139.     <p></p>
  140.     <font size="-1">Evans Programming Java Toolkit HTML Document<br>
  141.       Generated March 15, 1998<br>
  142.       Revised Februrary 5, 1999<br>
  143.       Copyright 1998-1999 Evans Programming<br>
  144.       Send comments or corrections to <a href="mailto:davidLevans@megsinet.net">davidLevans@megsinet.net</a>
  145.     </font>
  146. <!--INCLUDESTOP="JTCLSFTR.TXT"-->
  147.  
  148.     </font>
  149.   </body>
  150. </html>
  151.